﻿using System;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations.Schema;
using YiSha.Util;

namespace YiSha.Entity.OrganizationManage
{
    /// <summary>
    /// 创 建：admin
    /// 日 期：2020-05-09 22:50
    /// 描 述：客户留言实体类
    /// </summary>
    [Table("sys_message")]
    public class MessageEntity : BaseEntity
    {
        /// <summary>
        /// 留言id
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(StringJsonConverter))]
        public long? MsId { get; set; }
        /// <summary>
        /// 留言用户id
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(StringJsonConverter))]
        public long? MsUid { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        /// <returns></returns>
        public string MsAddress { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MsName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MsHone { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MsType { get; set; }
        /// <summary>
        /// 留言内容
        /// </summary>
        /// <returns></returns>
        public string MsContent { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(DateTimeJsonConverter))]
        public DateTime? MsAdddatetime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MsReplycontent { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(DateTimeJsonConverter))]
        public DateTime? MsUpdatetime { get; set; }
    }
}
